package com.cksecurity.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cksecurity.dao.GenericDao;
import com.cksecurity.data.User;
import com.cksecurity.service.UserService;

@Service
public class UserServiceImpl implements UserService {
    
    @Autowired
    private GenericDao genericDao;

    @Override
    public List<User> getAllUser() {
        return genericDao.getAll(User.class);
    }

}
